import os

from submodules.common.lib.image_ import reduce_noise_file

file_list = os.listdir("data1")

for file_name in file_list:
    reduce_noise_file(f"data1/{file_name}", f"data2/{file_name}", threshold=130)
